package ShardSystem;

import java.util.ArrayList;

/**
 *
 * @author David
 */
public class City extends GridObject {
    
    private String name;
    private int location_x;
    private int location_y;
    private ArrayList ProductList = new ArrayList();

    public City(String name, int location_x, int location_y) {
        this.name       = name;
        this.location_x = location_x;
        this.location_y = location_y;
    }
    
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the location_x
     */
    public int getLocation_x() {
        return location_x;
    }

    /**
     * @param location_x the location_x to set
     */
    public void setLocation_x(int location_x) {
        this.location_x = location_x;
    }

    /**
     * @return the location_y
     */
    public int getLocation_y() {
        return location_y;
    }

    /**
     * @param location_y the location_y to set
     */
    public void setLocation_y(int location_y) {
        this.location_y = location_y;
    }

    /**
     * @return the ProductList
     */
    public ArrayList getProductList() {
        return ProductList;
    }

    /**
     * @param ProductList the ProductList to set
     */
    public void setProductList(ArrayList ProductList) {
        this.ProductList = ProductList;
    }
    
    
    
}
